home *** CD-ROM | disk | FTP | other *** search
- Path: nada.kth.se!d93-hyo
- From: d93-hyo@nada.kth.se (Hσkan Younes)
- Newsgroups: comp.sys.amiga.programmer
- Subject: GNU MAKE and RCS files?
- Date: 13 Jan 96 18:11:18 GMT
- Message-ID: <d93-hyo.821556678@nada.kth.se>
- NNTP-Posting-Host: mumrik.nada.kth.se
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Keywords: GNU,GCC,MAKE,RCS
-
-
- The gnu make utility is supposed to extract RCS files when needed
- for dependencies. I'd find that very usefull if it weren't for some
- pecularities (bugs?).
-
-
- Given this rule:
-
- foo.o: foo.h
-
- and the RCS files foo.cc,v and foo.h,v one would suppose make to
- extract foo.h and foo.cc (if they have been edited since foo.o was
- last made), compile and then remove both foo.h and foo.cc.
-
-
- And make works this way with files not explicitly given as a
- dependency (in this example it works for foo.cc), but for explicitly
- given dependencies (foo.h) it does NOT work. In that case it
- always extracts foo.h even if foo.o is newer and it doesn't remove
- it when done.
-
-
- Is this really what it's supposed to do, or is it a bug?
-
-
- -Lorens Younes
- --
- ftp: ftp.nada.kth.se/home/d93-hyo _/_/_/_/_/_/_/_/_/_/_/_/
- www: http://www.nada.kth.se/~d93-hyo/ _/Singillatim mortales_/
- e-mail: d93-hyo@nada.kth.se _/ cunctim perpetui _/
- s-mail: Sandkullsvagen 16, 163 57 Spanga, Sweden _/_/_/_/_/_/_/_/_/_/_/_/
-